Filters the source view based on a predicate.

Namespace:  C1.LiveLinq.LiveViews
Assembly:  C1.LiveLinq (in C1.LiveLinq.dll)

Syntax

C#
public View<T> Where(
	Expression<Func<T, bool>> predicate
)
Visual Basic
Public Function Where ( _
	predicate As Expression(Of Func(Of T, Boolean)) _
) As View(Of T)

Parameters

predicate
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, Boolean>)>)>>)>)>
A function to test each element for a condition.

Return Value

A view that contains elements of this view that satisfy the condition.

See Also